package com.example.demo.controller;

import javax.persistence.Column;

/**
 * 创建卡券请求
 */
public class CreateCouponRequestEntity {

    @Column
    private Integer cardKindType;
    @Column
    private Integer couponType;
    @Column
    private String backgroundColor;
    @Column
    private String couponName;
    @Column
    private Double discount;
    @Column
    private String logoUrl;
    @Column
    private String imgUrl;
    @Column
    private String remark;
    @Column
//    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String activeDate;
    @Column
//    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String expireDate;
    @Column
    private Integer accActiveDays;
    @Column
    private Integer accLifeDays;
    @Column
    private String useInfo;
    @Column
    private Long orgId;

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Integer getCardKindType() {
        return cardKindType;
    }

    public void setCardKindType(Integer cardKindType) {
        this.cardKindType = cardKindType;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public String getBackgroundColor() {
        return backgroundColor;
    }

    public void setBackgroundColor(String backgroundColor) {
        this.backgroundColor = backgroundColor;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getActiveDate() {
        return activeDate;
    }

    public void setActiveDate(String activeDate) {
        this.activeDate = activeDate;
    }

    public String getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(String expireDate) {
        this.expireDate = expireDate;
    }

    public Integer getAccActiveDays() {
        return accActiveDays;
    }

    public void setAccActiveDays(Integer accActiveDays) {
        this.accActiveDays = accActiveDays;
    }

    public Integer getAccLifeDays() {
        return accLifeDays;
    }

    public void setAccLifeDays(Integer accLifeDays) {
        this.accLifeDays = accLifeDays;
    }

    public String getUseInfo() {
        return useInfo;
    }

    public void setUseInfo(String useInfo) {
        this.useInfo = useInfo;
    }

}